#pragma once
#include <vector>
#include <sstream>
#include "Result.h"
class ResultRegister
{
public:
	ResultRegister(void);
	~ResultRegister(void);
	void Add(const Result &r){vr.push_back(r);}
	string List()
	{
		ostringstream oss;
		for(auto &r: vr)
		{
			oss << "Result=" << r;
		}
		return oss.str();
	}
	void Clear()
	{
		vr.clear();
	}
private:
	vector<Result> vr;
};

